import _fatch from '@/api/request'
function getQuestion (data) {
  return _fatch({
    url: '/question/list',
    params: data
  })
}
function setQuestionStasus(data){
  return _fatch({
    url:"/question/status",
    method:'post',
    data,
  })
}
function addQuestion(data){
  return _fatch({
    url:"/question/add",
    method:'post',
    data,
  })
}
function editQuestion(data){
  return _fatch({
    url:"/question/edit",
    method:'post',
    data,
  })
}
function removeQuestion(data){
  return _fatch({
    url:"/question/remove",
    method:'post',
    data,
  })
}
export { getQuestion, setQuestionStasus, addQuestion, editQuestion, removeQuestion }
